List of flags governing the label menu makeup. The flags are:
- table-of-contents
- Show the labels embedded in a table of context.
- section-numbers
- Include section numbers (like 4.1.3) in table of contents.
- counters
- Show counters. This just numbers the labels in the menu.
- no-context
- Non-
nilmeans do not show the short context.- follow
- Follow full context in other window.
- show-commented
- Show labels from regions which are commented out.
- match-everywhere
- Obsolete flag.
- show-files
- Show begin and end of included files.
Each of these flags can be set to
tornil, or to a string of type letters indicating the label types for which it should be true. These strings work like character classes in regular expressions. Thus, setting one of the flags to ‘"sf"’ makes the flag true for section and figure labels,nilfor everything else. Setting it to ‘"^sf"’ makes it the other way round.The available label types are:
s(section),f(figure),t(table),i(item),e(equation),n(footnote), plus any definitions inreftex-label-alist.Most options can also be switched from the label menu itself - so if you decide here to not have a table of contents in the label menu, you can still get one interactively during selection from the label menu.
Punctuation strings for multiple references. When marking is used in the selection buffer to select several references, this variable associates the 3 marking characters ‘,-+’ with prefix strings to be inserted into the buffer before the corresponding
\refmacro. This is used to string together whole reference sets, like ‘eqs. 1,2,3-5,6 and 7’ in a single call toreftex-reference.
Non-
nilmeans, the varioref macro\vrefis used as default. In the selection buffer, the v key toggles the reference macro between\refand\vref. The value of this variable determines the default which is active when entering the selection process. Instead ofnilort, this may also be a string of type letters indicating the label types for which it should be true.
Non-
nilmeans, the fancyref macro\frefis used as default. In the selection buffer, the V key toggles the reference macro between\ref,\frefand\Fref. The value of this variable determines the default which is active when entering the selection process. Instead ofnilort, this may also be a string of type letters indicating the label types for which it should be true.
If non-
nil, should be a function which produces the string to insert as a reference. Note that the insertion format can also be changed withreftex-label-alist. This hook also is used by the special commands to insert\vrefand\frefreferences, so even if you set this, your setting will be ignored by the special commands. The function will be called with two arguments, the label and the default-format (usually ‘~\ref{%s}’). It should return the string to insert into the buffer.
Non-
nilmeans,reftex-referencewill try to guess the label type. To do that, RefTeX will look at the word before the cursor and compare it with the magic words given inreftex-label-alist. When it finds a match, RefTeX will immediately offer the correct label menu - otherwise it will prompt you for a label type. If you set this variable tonil, RefTeX will always prompt for a label type.
Normal Hook which is run before context is displayed anywhere. Designed for
X-Symbol, but may have other uses as well.
X-Symbolspecific hook. Probably not useful for other purposes. The functions get two arguments, the buffer from where the command started and a symbol indicating in what context the hook is called.
Normal hook which is run when a selection buffer enters
reftex-select-label-mode.
The keymap which is active in the labels selection process (see Referencing Labels).